<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ReadCat 网页测试</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        .container {
            background: rgba(255,255,255,0.95);
            color: #333;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            text-align: center;
            max-width: 600px;
            width: 90%;
        }
        .logo {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px;
            background: #4CAF50;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3em;
        }
        h1 { 
            color: #4CAF50;
            margin-bottom: 20px;
        }
        .status {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
            text-align: left;
        }
        .btn {
            background: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            margin: 10px;
            text-decoration: none;
            display: inline-block;
        }
        .btn:hover {
            background: #45a049;
            transform: translateY(-2px);
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo">📚</div>
        <h1>ReadCat 网页测试</h1>
        <p>这是一个新建的网页文件，用于测试 ReadCat 项目的网页功能。</p>
        
        <div class="status">
            <h3>📊 项目状态</h3>
            <p>✅ 项目构建成功</p>
            <p>✅ 开发服务器运行正常</p>
            <p>✅ 所有依赖项已安装</p>
        </div>
        
        <div class="status">
            <h3>🌐 访问地址</h3>
            <p>开发服务器: <a href="http://localhost:5173/" target="_blank">http://localhost:5173/</a></p>
            <p>网络地址: <a href="http://192.168.56.1:5173/" target="_blank">http://192.168.56.1:5173/</a></p>
        </div>
        
        <div class="btn-group">
            <a href="http://localhost:5173/" class="btn" target="_blank">打开开发服务器</a>
            <a href="debug.html" class="btn" target="_blank">调试页面</a>
            <a href="success-test.html" class="btn" target="_blank">成功测试页面</a>
        </div>
    </div>

    <script>
        // 简单的页面交互
        document.addEventListener('DOMContentLoaded', function() {
            console.log('ReadCat 网页测试页面已加载');
            
            // 检查开发服务器状态
            fetch('http://localhost:5173/')
                .then(response => {
                    if (response.ok) {
                        console.log('开发服务器运行正常');
                    }
                })
                .catch(error => {
                    console.log('开发服务器未运行或无法访问');
                });
        });
    </script>
</body>
</html>